package com.mmd.admin.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mmd.base.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 操作日志
 * </p>
 *
 * @author ${author}
 * @since 2023-06-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("life_serve_operation_log")
@ApiModel(value="OperationLog对象", description="操作日志")
public class OperationLog extends BaseEntity<OperationLog> {

    @ApiModelProperty(value = "功能模块")
    private String module;

    @ApiModelProperty(value = "操作描述")
    private String message;

    @ApiModelProperty(value = "操作管理员id")
    private Long adminId;

    @ApiModelProperty(value = "管理员名称")
    private String adminName;

    @ApiModelProperty(value = "操作方面")
    private String method;
}
